/*
 * @lc app=leetcode.cn id=1832 lang=typescript
 *
 * [1832] 判断句子是否为全字母句
 */

// @lc code=start
function checkIfPangram(sentence: string): boolean {
    if (sentence.length < 26) return false;
    let blu = new Array(26).fill(0);
    for (let i = 0; i < sentence.length; i++) {
        blu[sentence.charCodeAt(i) - 97]++;
    }
    return blu.every((i) => i > 0);
}
// @lc code=end
